import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
// 引入element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
import router from './router'
// 引入vuex
import store from './store'
// 引入mock
import '../mock'
// 引入路由导航守卫
import './permission'

Vue.use(ElementUI, { zhLocale })
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
